package com.jhh.pay.center.actor;

import org.springframework.web.context.request.async.DeferredResult;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/7
 */
@FunctionalInterface
public interface DeferredCompleteFunctional<T, R> {
    void invoke(Throwable failure, T response, DeferredResult<R> result);
}
